package org.edu.modules.logistics.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-仓库表
 */
@TableName("ve_houqin_cangku")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="仓库表对象", description="ve_houqin_cangku")
public class VeHqCangku extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "仓库名称")
    @Length(max = 50)
    private String name;

    @TableField
    @ApiModelProperty(value = "仓库地址")
    @Length(max = 200)
    private String address;

    @TableField
    @ApiModelProperty(value = "负责人")
    @Length(max = 36)
    private String fzrId;

    @TableField
    @ApiModelProperty(value = "负责人")
    @Length(max = 255)
    private String fzrText;

    @TableField
    @ApiModelProperty(value = "联系电话")
    @Length(max = 15)
    private String phone;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "")
    private Integer status;
}
